package com.zhuxiaomei.service;

import com.zhuxiaomei.dto.ws.WSResult;
import com.zhuxiaomei.entity.msg.CoupleBindMessage;
import jakarta.websocket.Session;

import java.util.List;

/**
 * @author hxm
 * @date 2024/12/24 12:30
 * @description
 */
public interface MessageService {

    void handleCoupleBind(Session session, WSResult wsResult);
    /**
     *
     * @param fromAccount 发送方
     * @param toAccount 接收方
     * @param status 状态（1：等待，2：成功， 3：失败）
     * @return
     */
    List<CoupleBindMessage> selectMessage(String fromAccount, String toAccount, String status);
}
